/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
    color: #1c1e21;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 15px;
    background-color: #fff;
}

/* Header */
header {
    color: #fff;
    /* padding: 10px 0; Remove padding, handled by sub-elements */
    /* border-bottom: 1px solid #ddd; Remove border, handled by sub-elements */
}

.top-bar {
    background-color: #000; /* Black background for top bar */
    padding: 10px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    padding: 0 15px;
    max-width: 100%; /* Full width for header bar */
}

.news-ticker-bar {
    background-color: #d9232d; /* Red background for news ticker */
    color: #fff;
    padding: 8px 0;
    text-align: center;
    font-size: 0.9em;
    font-weight: bold;
    text-transform: uppercase;
}

.news-ticker-bar .container {
    background-color: transparent;
    padding: 0 15px;
    max-width: 100%;
}

.news-ticker-bar span {
    margin-right: 20px;
}

.nav-left svg,
.nav-right svg {
    width: 24px;
    height: 24px;
    fill: #fff; /* White icons */
    stroke: #fff;
}

.nav-center {
    font-weight: bold;
    font-size: 1.1em;
}

/* Main Content */
main.container {
    padding-top: 20px;
    padding-bottom: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h1 {
    font-size: 1.8em;
    color: #000; /* Black text for headline */
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.3;
}

h1 .red-text {
    color: #d9232d; /* Red for specific part of headline */
}

/* Video Placeholder */
.video-placeholder {
    position: relative;
    width: 100%;
    max-width: 640px; /* Adjust as needed */
    margin: 20px auto;
    background-color: #000;
    aspect-ratio: 16 / 9; /* Maintain aspect ratio */
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-placeholder img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.play-button-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(200, 70, 0, 0.8); /* Orange-red overlay from screenshot */
    cursor: pointer;
}

.play-icon {
    width: 0;
    height: 0;
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
    border-left: 50px solid white;
    margin-bottom: 10px;
}

.play-button-overlay span {
    color: white;
    font-size: 1.2em;
    font-weight: bold;
}

.watching-now {
    text-align: center;
    font-size: 0.9em;
    color: #606770;
    margin-bottom: 20px;
}

.watching-now strong {
    color: #1c1e21;
}

/* Logos */
.logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 30px 0;
    padding: 15px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.logos img {
    max-height: 150px; /* Adjust as needed */
    margin: 0 10px;
    filter: grayscale(30%);
    opacity: 0.8;
}

/* Comments Section */
.comments-section {
    margin-top: 30px;
}

.comments-count {
    font-size: 0.9em;
    color: #606770;
    margin-bottom: 15px;
    font-weight: bold;
}

.comment {
    display: flex;
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f7f7f7; /* Light gray background for comments */
    border-radius: 8px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

.comment-content {
    flex-grow: 1;
}

.username {
    font-weight: bold;
    color: #385898; /* Facebook-like blue for username */
    margin: 0 0 5px 0;
    font-size: 0.9em;
}

.comment-content p:not(.username) {
    font-size: 0.9em;
    line-height: 1.4;
    margin: 0 0 8px 0;
    color: #1c1e21;
}

.comment-actions {
    font-size: 0.8em;
    color: #606770;
}

.comment-actions span {
    margin-right: 5px;
    cursor: pointer;
}

.comment-actions span:hover {
    text-decoration: underline;
}

.comment-actions .time {
    margin-left: 5px;
}

.reactions {
    margin-left: 5px;
}

/* Footer */
footer {
    background-color: #333; /* Dark footer */
    color: #ccc;
    text-align: center;
    padding: 20px 0;
    font-size: 0.8em;
    margin-top: 30px;
}

footer .container {
    background-color: transparent;
    padding: 0 15px;
    max-width: 100%; /* Full width for footer bar */
}

footer p {
    margin: 0;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 1.5em;
    }

    .logos img {
        max-height: 30px;
    }
    .nav-center {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    h1 {
        font-size: 1.3em;
    }

    .logos {
        flex-wrap: wrap; /* Allow logos to wrap on small screens */
    }

    .logos img {
        max-height: 100px;
        margin-bottom: 10px; /* Add space if they wrap */
    }

    .comment {
        padding: 8px;
    }

    .avatar {
        width: 32px;
        height: 32px;
    }

    .username,
    .comment-content p:not(.username) {
        font-size: 0.85em;
    }

    .comment-actions {
        font-size: 0.75em;
    }
    .nav-left, .nav-right{
        display: none; /* Hide nav icons on very small screens for simplicity, or implement proper mobile menu */
    }
    .nav-center{
        text-align: center;
        width: 100%;
    }
}



.reaction-icon {
    width: 16px; /* Adjust size as needed */
    height: 16px; /* Adjust size as needed */
    vertical-align: middle;
    margin-right: 2px;
}



/* Marquee Animation */
.news-ticker-bar .container {
    overflow: hidden; /* Hide the overflowing text */
}

.marquee {
    display: inline-block; /* Or block, depending on desired layout with other elements if any */
    white-space: nowrap; /* Keep the text on a single line */
    animation: marquee-animation 20s linear infinite; /* Adjust duration as needed */
}

@keyframes marquee-animation {
    0%   { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}



/* CTA Button */
.cta-button {
    display: block;
    width: 80%;
    max-width: 400px;
    margin: 20px auto;
    padding: 15px 20px;
    background-color: #4CAF50; /* Green background */
    color: white;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    animation: pulse-animation 1.5s infinite;
}

@keyframes pulse-animation {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 12px rgba(76, 175, 80, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }
}

.cta-button:hover {
    background-color: #45a049; /* Darker green on hover */
}

